//
//  WCDocumentController.h
//  WabbitCode
//
//  Created by William Towe on 1/6/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@class WCProject, WCTextView;

@interface WCDocumentController : NSDocumentController {

}
@property (readonly) WCProject *currentProject;
@property (readonly) WCTextView *currentTextView;
@property (readonly) NSArray *allProjects;

- (IBAction)newFileAction:(id)sender;
- (IBAction)newEmptyFileAction:(id)sender;
- (IBAction)newProjectAction:(id)sender;
- (IBAction)newTargetAction:(id)sender;
- (IBAction)openMostRecentProjectAction:(id)sender;

- (BOOL)openMostRecentProject;
@end
